package com.pur.zsms.storemanage.po;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.hibernate.annotations.GenericGenerator;

import com.pur.zsms.common.vo.BaseEntity;

@SuppressWarnings("serial")
@Entity
@Table(name = "t_store_in")
/**
 * 入库订单实体类
 * @author 周
 *
 */
public class StoreInPo extends BaseEntity {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "store_in_id")
	private int storeInId;

	@Column(name = "sup_id")
	private int supId;

	@Column(name = "sup_sup_id")
	private int supSupId;

	@Column(name = "cust_id")
	private int custId;

	@Column(name = "store_house_id")
	private int storeHouseId;

	@Column(name = "creat_date")
	private String creatDate;

	@Column(name = "remark")
	private String remark;

	@Column(name = "store_in_state")
	private int storeInState;// 1未确认状态,2确认状态,

	@Column(name = "store_in_way")
	private int storeInWay;// 1手动入库,2自动核算入库

	@Column(name = "ord_id")
	private int ordId;// 入库相关联id 自动入库时插入 手动时为0

	@Column(name = "mater_value_all")
	private BigDecimal materValueAll;

	public BigDecimal getMaterValueAll() {
		return materValueAll;
	}

	public void setMaterValueAll(BigDecimal materValueAll) {
		this.materValueAll = materValueAll;
	}

	public int getSupSupId() {
		return supSupId;
	}

	public void setSupSupId(int supSupId) {
		this.supSupId = supSupId;
	}

	public int getOrdId() {
		return ordId;
	}

	public void setOrdId(int ordId) {
		this.ordId = ordId;
	}

	public int getStoreInWay() {
		return storeInWay;
	}

	public void setStoreInWay(int storeInWay) {
		this.storeInWay = storeInWay;
	}

	public int getStoreInState() {
		return storeInState;
	}

	public void setStoreInState(int storeInState) {
		this.storeInState = storeInState;
	}

	public int getStoreInId() {
		return storeInId;
	}

	public void setStoreInId(int storeInId) {
		this.storeInId = storeInId;
	}

	public int getSupId() {
		return supId;
	}

	public void setSupId(int supId) {
		this.supId = supId;
	}

	public int getCustId() {
		return custId;
	}

	public void setCustId(int custId) {
		this.custId = custId;
	}

	public int getStoreHouseId() {
		return storeHouseId;
	}

	public void setStoreHouseId(int storeHouseId) {
		this.storeHouseId = storeHouseId;
	}

	public String getCreatDate() {
		return creatDate;
	}

	public void setCreatDate(String creatDate) {
		this.creatDate = creatDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
